﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Sector7.Restaurant.EntityType
{
    /// <summary>
    /// 单据明细基类
    /// </summary>
    [Serializable]
    [DataContract]
    public class RS_BillItemBase
    {
        /// <summary>
        /// 获取或设置明细编号
        /// </summary>
        [DataMember]
        public int ItemId { get; set; }

        /// <summary>
        /// 获取或设置单位编号
        /// </summary>
        [DataMember]
        public int UnitId { get; set; }

        /// <summary>
        /// 获取或设置单价
        /// </summary>
        [DataMember]
        public decimal UnitPrice { get; set; }

        /// <summary>
        /// 获取或设置数量
        /// </summary>
        [DataMember]
        public decimal Number { get; set; }

        /// <summary>
        /// 获取或设置单据编号
        /// </summary>
        [DataMember]
        public string BillId { get; set; }

        /// <summary>
        /// 获取或设置单位信息
        /// </summary>
        [DataMember]
        public RS_Unit Unit { get; set; }
    }
}
